﻿<%@ Page Inherits="_Default" CodeFile="Default.aspx.cs" Language="c#"%>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
   
<mobile:Form id="Form3" runat="server">
    <mobile:Calendar id="Calendar1" runat="server"
        SelectedDate="2001-07-21"
        SelectionMode="DayWeek"
        Alignment="Center"
        OnSelectionChanged="Calendar1_SelectionChanged">
    </mobile:Calendar>
    <mobile:Label id="Label1" runat="server" Alignment="Center"/>
   <mobile:PhoneCall runat="server"
        AlternateFormat="Call {0} on {1}"
        AlternateURL="http://www.google.com"
        phoneNumber="123-456-7890"
        Text="Northwind Traders">
    </mobile:PhoneCall>
     <mobile:AdRotator id="AdRotator1" runat="server"
        AdvertisementFile="AdConfig.xml">
        <DeviceSpecific>
            <Choice Filter="isWML11"
                ImageKey="WAPImageUrl"
                NavigateUrlKey="WAPNavigateUrl"/>
        </DeviceSpecific>
    </mobile:AdRotator>

    
</mobile:Form>
<mobile:Form id="Form1" runat="server">
    <mobile:Label id="Label1w" runat="server">
        Your name:
    </mobile:Label>
    <mobile:TextBox id="userName" runat="server"/>
    <mobile:RequiredFieldValidator id="RequiredFieldValidator1"
        runat="server"
        Display="Dynamic"
        ErrorMessage="Your name is required! "
        ControlToValidate="userName"/>
    <mobile:Command id="Command1" OnClick="Command1_Click" runat="server">
        Submit
    </mobile:Command>
</mobile:Form>
<mobile:Form id="Form2" runat="server">
    <mobile:Label id="Label2" runat="server">
        Input validated OK.
    </mobile:Label>
</mobile:Form>